import { ModuleDef } from "./ModuleDef";

export class SceneDef {
    /**首场景，必须从这个场景启动**/
    public static START = { name: 'start', bundle: 'main' };
    /**登录场景**/
    public static LOGIN = { name: 'login', bundle: ModuleDef.BASIC };
    /**主大厅场景，登录成功后会首先进入这个场景**/
    public static LOBBY = { name: 'lobby', bundle: ModuleDef.BASIC };
    /**创建角色场景，登录成功后如果没有创建过角色，会跳转到此场景**/
    public static CREATE_ROLE = { name: 'create_role', bundle: ModuleDef.BASIC };
    /**台球大厅场景**/
    public static LOBBY_BILLIARDS = { name: 'lobby_billiards', bundle: ModuleDef.BILLIARDS };
    /**台球游戏场景**/
    public static BILLIARDS = { name: 'game_billiards', bundle: ModuleDef.BILLIARDS };
    /**五子棋大厅场景**/
    public static LOBBY_GOMOKU = { name: 'lobby_gomoku', bundle: ModuleDef.GOMOKU };
    /**子五棋游戏场景**/
    public static GOMOKU = { name: 'game_gomoku', bundle: ModuleDef.GOMOKU };
}

export interface SubWorldSceneParams {
    uid: string,
    subWorldId: string,
    subWorldConfigId: string,
    worldServerUrl: string,
    token: string,
    time: number,
}